package com.bw.dao;

import java.util.Date;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.bw.bean.Classes;
import com.bw.bean.ViewVo;

public interface ClassesDao {
    int deleteByPrimaryKey(Integer id);

    int insert(Classes record);

    int insertSelective(Classes record);

    Classes selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Classes record);

    int updateByPrimaryKey(Classes record);


	List<Classes> list();
	List getClassMessage(@Param("i")int i, @Param("name")String name);

	List<ViewVo> myChart(@Param("cid")int cid, @Param("s")String s, @Param("e")String e);
	
	List<ViewVo> zhenDuan(@Param("cid")int cid, @Param("s")String s, @Param("e")String e);
}